-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive cholesky #710
Open
EdDAzevedo
wants to merge
15
commits into
ROCm:develop
Choose a base branch
from
EdDAzevedo:recursive_cholesky
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Recursive cholesky #710
+302
−10
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EdDAzevedo
requested review from
jzuniga-amd,
tfalders,
cgmb,
qjojo and
jmachado-amd
as code owners
April 30, 2024 17:23
tfalders
added
the
noOptimizations
Disable optimized kernels for small sizes for some routines
label
May 27, 2024
I have opened a PR on your local fork with my suggested changes. Please have a look when you have a chance. |
* Cleanup for recursive Cholesky * Added ROCBLAS_CHECK to all nested calls in potrf * Removed unused variables * Add back offset variables * Reintroduce row_offset * Added row_offset to the log
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement recursive formulation of Cholesky factorization for n by n symmetric positive definite matrix A.
Let the following be a block partitioning of matrix A.
Here submatrix L22 is n/2 by n/2, L11 is n1 by n1, where n1 = n - n/2, or partition matrix at mid-point
[L11 0 ] * [ L11' L21'] = [A11 A21' ]
[L21 L22] [ L22'] [A21 A22 ]
(1) L11 * L11' = A11 , recursive Cholesky factorization
(2) L21 * L11' = A21 or
L21 = A21 / L11' triangular solve (TRSM)
(3) L21 * L21' + L22 * L22' = A22
or
(3a) A22 <- A22 - L21 * L21', symmetric rank-k update (SYRK)
(3b) L22 * L22' = A22, recursive Cholesky factorization
Note C++ recursion is performed on CPU host and the recursion depth is O( log2( n ) ).